package com.vipheyue.viewpagerindicator2;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

public class Fragement2 extends Fragment
{
	View v;
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState)
	{
		 v=inflater.inflate(R.layout.activity_fragement2, null);
		return v;
	}
	public void setText(String str){
		TextView tv=(TextView) v.findViewById(R.id.tv_fragement2);
		tv.setText(str);
	}
}
